<!DOCTYPE html>
<head>
	<meta charset="utf-8">
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
	<title><?php echo @$title; ?></title>
	<meta name="keywords" content="<?php echo CON_KEYWORDS; ?>" />
	<meta name="description" content="<?php echo CON_DESCRIPTION; ?>" />
	<meta name="author" content="HYZB">
	<meta name="development" content="HYZB">
	<link rel="shortcut icon" href="/favicon.ico" />
	<link href="/resource/css/layout.css" rel="stylesheet" type="text/css">
	<link rel="stylesheet" href="/static/css/jquery-ui.css" />
	<!--[if IE]>
	<script src="/resource/js/html5.js"></script>
	<![endif]-->
	<script src="/resource/js/jquery.js"></script>
	<script src="/static/js/jquery-ui.js"></script>
	<script src="/static/js/jquery.form.js"></script>
	<?php if($active=='index'){?><script src="/resource/js/base.js"></script>
	<script src="/resource/js/radialIndicator.min.js"></script><?php }?>
	<script src="/resource/js/common.js"></script>
	<script>
		//var _hmt = _hmt || [];
		//(function() {
		//  var hm = document.createElement("script");
		//  hm.src = "//hm.baidu.com/hm.js?21eddeb32a77d93b37b66ac9dbd05893";
		//  var s = document.getElementsByTagName("script")[0];
		//  s.parentNode.insertBefore(hm, s);
		//})();
	</script>
</head>
<body>
<script>
	function goShopPage() {
		window.location.href= '/shop.html';
	}
	$(document).ready(function(){
		$(".nav-zbj").hover(function(){
			$("#zbj").show();
		},function(){
			$("#zbj").hide();
		});
	});
</script>
<header class="all top black">
  <div class="layout  black">
		<div class="tel4"><i class="tbg timg"></i><span>服务电话：<?php echo CON_FUWUTEL;?></span></div>
		<ul class="share">
			<li class="pop_xl"><b class="tbg xl"></b>
            	<section>
                	<div class="content">
						<p>点击关注新浪微博：<a target="_blank" href="<?php echo CON_WEIBO_URL;?>">@找金银网</a></p>
					</div>
                	<s><i></i></s>
                </section>
            </li>
			<li class="pop_wx"><b  class="tbg wx"></b>
            	<section>
                	<div class="content">
						<div class="fl"><img width="70" height="70" src="/static/images/weixin.jpg"></div>
						<div class="fr">
                        	<span><p>关注找金银贷<br/>微信号：</p><p style="color:#2a82c5">找金银贷</p></span>
						</div>
                    </div>
                	<s><i></i></s>
                </section>
            </li>
            <!--
			<li class="pop_qq"><b class="tbg qq"></b>
            	<section>
                	<div class="content">
                    	<p>官方QQ群:</p><p style="color:#2a82c5"><?php echo CON_DISCUSSION_GROUP;?></p>
                    </div>
                	<s><i></i></s>
                </section>
            </li>
            -->
		</ul>
        <?php $session_user = $this->session->userdata('zjy_user');?>
        <div class="menu">
        <?php if(!empty($session_user)):?>
		<span class="fl">您好！</span><a class="np" href="/user/center.html"><?php echo $session_user['username']?$session_user['username']:$session_user['phone'];?></a>
		<a href="/user/logout.html">[退出]</a><a href="/user/center.html">会员中心</a>
		<?php else:?>
        <a href="/login.html">登陆</a>  <a href="/reg.html">注册</a>  
        <?php endif;?>
        <a href="/site/help.html">帮助中心</a> <a  href='javascript:void();' onclick="SetHome(this,window.location)">设为首页</a></div>
	</div>
</header>
<section class="all">
	<div class="layout">
		<div class="logo"><a href="/"><img src="/resource/images/logo.jpg" /></a></div>
		<nav>
			<li><a href="/" <?php if($active=='index'){?>class="cur"<?php }?>>首页</a><b></b></li>
			<!--<li><a href="/borrow/publish.html" <?php if($active=='publish'){?>class="cur"<?php }?>>我要借款</a><b></b></li>-->
			<!--<li><a href="/borrow/blist.html" <?php if($active=='blist'){?>class="cur"<?php }?>>我要投资</a><b></b></li>-->
			<li class="nav-zbj"><a href="/borrow/blist.html" <?php if($active=='borrow'){?>class="cur"<?php }?>>猪八借</a><b></b></li>
			<li><a href="/o2o.html" <?php if($active=='o2o'){?>class="cur"<?php }?>>O2O金融</a><b></b></li>
			<li><a href="/supply/index.html" <?php if($active=='supply'){?>class="cur"<?php }?>>供应链金融</a><b></b></li>
			<!--			<li><a href="/user.html">会员中心</a><b></b></li>-->
			<!--			<li><a href="/shop.html" target="_blank">积分商城</a><b></b></li>-->
			<li><a href="/site/safe.html" <?php if($active=='safe'){?>class="cur"<?php }?>>安全保障</a><b></b></li>
			<li><a href="/site/about/saa.html" <?php if($active=='about'){?>class="cur"<?php }?>>关于我们</a></li>
			<li><a href="/site/help/safe2/safe2_find.html" <?php if($active=='help'){?>class="cur"<?php }?>>常见问题</a></li>
		</nav>
		<span class="nav-zbj" id="zbj"><a href="/borrow/blist.html" style="display: block">我要投资</a><a href="/borrow/guide.html" style="display: block">借款指南</a><a href="/borrow/apply.html" style="display: block">我要借款</a></span>
		<div class="nav_ico" style="display: none;"><img src="/resource/images/nav_ico.jpg" width="136" height="28" onclick="set_login_credict(<?php echo $session_user['user_id']?>)" alt="签到赢积分" title="签到赢积分" style="cursor:pointer" /></div>
	</div>
</section>